﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Models
{
    public enum PersonZhuangBeiType{
        Wuqi,
        Yifu,
        Kuzi,
        Xiezi

    }

     public class PersonZhuangBeiItem
    {
        public PersonZhuangBeiItem(string name,string  fire ,  int a, int f , PersonZhuangBeiType t, string des , int bprice, int sprice)
        {
            Name = name;
            fire_name = fire;
            Attack = a;
            FangYu = f;
            type = t;
            Des = des;
            buyprice = bprice;
            sellprice = sprice;
        }


        public string Name;

        public int Attack;

        public int FangYu;

        public PersonZhuangBeiType type;

        public string Des;

        public bool isZhuangBei;


        public string fire_name;


        public int buyprice;

        public int sellprice;
        public void ZhuangBei()
        {
            isZhuangBei = !isZhuangBei;
        }

        public bool HasZhuangBei()
        {
            return isZhuangBei;
        }

        public void DestoryItem()
        {

        }

        public void MoveToOtherPlayer()
        {

        }

    }
}
